Skip to content

Feature/copier template - #4

Merged
shteenft merged 6 commits into
mainfrom
feature/copier-template
Jul 22, 2026
Merged

shteenft merged 6 commits into
mainfrom
feature/copier-template

Conversation

@freinold

@freinold freinold commented May 4, 2026 •

Copy link
Copy Markdown
Member

Description

Initial copier template

Summary by CodeRabbit

  • New Features

    • Added full project template scaffold with optional backend (FastAPI), frontend (Vue 3 + Vite), and background job; Docker and Docker Compose support; docs site and deploy workflow; CI workflows for tests, security (OSSF Scorecard), and Docker releases.
  • Documentation

    • Rewrote README templates, added CONTRIBUTING and getting-started docs, and VitePress site templates; updated Code of Conduct.
  • Chores

    • Configured linting/formatting hooks (pre-commit, Ruff, Prettier), Renovate and dependency-review templates, license year update.

Review Change Stack

@freinold freinold self-assigned this May 4, 2026
@freinold
freinold requested a review from Meteord May 4, 2026 18:23
@coderabbitai

coderabbitai Bot commented May 4, 2026 •

Copy link
Copy Markdown

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2c86b243-e5b2-4579-8715-f5492e2bc996

📥 Commits

Reviewing files that changed from the base of the PR and between 7a5d7de and 587875d.

📒 Files selected for processing (2)
  • .claude/settings.local.json
  • .gitignore
✅ Files skipped from review due to trivial changes (1)
  • .gitignore
📜 Recent review details
🔇 Additional comments (1)
.claude/settings.local.json (1)

1-10: LGTM!


Walkthrough

Adds a Copier template (python-templates) with optional backend, frontend, and job scaffolds; CI/CD workflows (build, release, lint, scorecard, docs), pre-commit and Ruff configs, Renovate template, README/docs, license updates, Dockerfiles, and assorted tooling/config templates.

Changes

Template Foundation and Project Metadata

Layer / File(s) Summary
Copier template configuration and inputs
copier.yml
Defines template parameters for project metadata, boolean feature toggles (backend, frontend, job), UBI base image selectors, Jinja extensions, and conditional file exclusion rules.
License templates and CODE_OF_CONDUCT
LICENSE, LICENSE.jinja, CODE_OF_CONDUCT.md
Adds LICENSE.jinja template, updates LICENSE year to 2026, and fixes CODE_OF_CONDUCT wording and attribution link formatting.
Project documentation and contributing guidelines
README.md, README.md.jinja, CONTRIBUTING.md, {{ _copier_conf.answers_file }}.jinja
Rewrites README as a Copier template README, adds templated README, new CONTRIBUTING, and Copier answers rendering template.

CI/CD Pipelines and Code Quality Tools

Layer / File(s) Summary
Pre-commit hooks and Ruff configuration
.pre-commit-config.yaml, ruff.toml.jinja
Adds pre-commit config (ruff, JSON/YAML checks, gitleaks) and Ruff template targeting py314 with formatting and linting selections.
Testing and linting GitHub Actions workflows
.github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja, .github/workflows/ruff.yml.jinja
Adds backend test workflow template (uv + pytest) and Ruff lint workflow template for PRs/pushes.
Docker image release workflows
.github/workflows/{% if backend %}docker-release-backend.yml{% endif %}.jinja, .github/workflows/{% if frontend %}docker-release-frontend.yml{% endif %}.jinja, .github/workflows/{% if job %}docker-release-job.yml{% endif %}.jinja
Jinja-templated workflows to build and push GHCR images from component directories on tag pushes or manual dispatch.
Documentation site deployment workflow
.github/workflows/deploy-docs.yml.jinja
Workflow to build VitePress docs and deploy to GitHub Pages with least-privilege permissions.
Security scanning and dependency automation
.github/workflows/scorecard.yml, renovate.json5.jinja, .github/workflows/dependency-review.yml
Adds OSSF Scorecard workflow, new Renovate template, and retains dependency-review action (pinned).
CodeRabbit and Claude automation
.coderabbit.yaml, .claude/settings.local.json
Adds CodeRabbit review config (chill profile, auto/incremental review) and local Claude permission settings.

Backend FastAPI Service Template

Layer / File(s) Summary
Backend project metadata and configuration
{{module_name}}-backend/pyproject.toml.jinja, {{module_name}}-backend/.python-version, {{module_name}}-backend/.dockerignore, {{module_name}}-backend/README.md.jinja
Adds pyproject template with FastAPI/Uvicorn/httpx, pins Python 3.14.4, and Dockerignore/README templates.
FastAPI application and Pydantic settings
{{module_name}}-backend/{{module_name}}/app.py.jinja, {{module_name}}-backend/{{module_name}}/settings.py.jinja
Creates FastAPI app with /api/healthz and / endpoints and a Pydantic Settings class with app_name and log_level defaults.
Backend runtime and health check tests
{{module_name}}-backend/main.py.jinja, {{module_name}}-backend/test/test_app.py.jinja
Adds Uvicorn entrypoint template and pytest health-check test.
Backend Dockerfile and build layering
{{module_name}}-backend/Dockerfile.jinja
UBI10-based multi-stage Dockerfile.jinja using uv two-phase dependency sync, OCI labels, non-root user, and venv PATH/ENTRYPOINT.

Frontend Vue 3 + Vite Template

Layer / File(s) Summary
Frontend project metadata and npm scripts
{{module_name}}-frontend/package.json.jinja, {{module_name}}-frontend/.npmrc, {{module_name}}-frontend/.prettierrc
Adds package.json template with pinned Vue/Vite/TS deps and scripts; npmrc to omit resolved field; Prettier plugin config.
Frontend Vue 3 components and entry point
{{module_name}}-frontend/src/App.vue.jinja, {{module_name}}-frontend/index.html.jinja, {{module_name}}-frontend/src/main.ts, {{module_name}}-frontend/src/style.css
Adds App.vue template, HTML entry, main.ts bootstrap, and base CSS.
Frontend TypeScript configuration
{{module_name}}-frontend/tsconfig.json, {{module_name}}-frontend/tsconfig.app.json, {{module_name}}-frontend/tsconfig.node.json
Adds TypeScript configs for app and build tooling referencing Vue/Node base configs.
Frontend Vite build configuration
{{module_name}}-frontend/vite.config.ts
Adds Vite config enabling Vue plugin.
Frontend Docker, nginx, and tooling
{{module_name}}-frontend/Dockerfile.jinja, {{module_name}}-frontend/docker/nginx/default.conf, {{module_name}}-frontend/README.md.jinja, {{module_name}}-frontend/.dockerignore, {{module_name}}-frontend/.prettierignore
Multi-stage Dockerfile.jinja with Node builder and nginx runtime, nginx config for SPA and caching, README, and ignore patterns.

Background Job Worker Template

Layer / File(s) Summary
Job worker project metadata and configuration
{{module_name}}-job/pyproject.toml.jinja, {{module_name}}-job/.python-version, {{module_name}}-job/.dockerignore, {{module_name}}-job/README.md.jinja
Adds job pyproject template, pins Python 3.14.4, Dockerignore and README template.
Job worker async HTTP client and entrypoint
{{module_name}}-job/main.py, {{module_name}}-job/{{module_name}}/worker.py
Adds async run() using httpx.AsyncClient with EXAMPLE_URL constant and worker main wrapper.
Job worker test suite
{{module_name}}-job/test/test_main.py.jinja
Adds pytest verifying main.run uses EXAMPLE_URL via monkeypatch.
Job worker Docker container
{{module_name}}-job/Dockerfile.jinja
UBI10-based Dockerfile.jinja using uv sync phases, OCI labels, non-root user, and venv entrypoint.

Service Orchestration and Documentation Site

Layer / File(s) Summary
Docker Compose service configuration
compose.yaml.jinja
Jinja-templated Compose file conditionally rendering backend (8080, .env), frontend (8081), and job services with build contexts.
Documentation site setup
docs/.vitepress/config.mts.jinja, docs/index.md.jinja, docs/guide/index.md.jinja
VitePress config and templates for docs site, home page, and getting-started guide with conditional setup notes.
Documentation npm and tooling
docs/package.json.jinja, docs/.npmrc, docs/.prettierignore, docs/.prettierrc
Docs package.json template, npmrc to omit resolved field, and Prettier settings for docs.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'Feature/copier template' refers to the main change (adding a Copier template), but lacks clarity and specificity about what the template provides.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/copier-template

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 19

🧹 Nitpick comments (13)
{{project_name}}-frontend/docker/nginx/default.conf (1)

1-10: LGTM — port, document root, and SPA fallback routing are all consistent with the Dockerfile and compose.yaml.jinja.

Consider adding the following before production use:

  • Security headers: X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and a Content-Security-Policy via add_header directives.
  • Static asset caching: a nested location ~* \.(js|css|png|...)$ block with expires / Cache-Control: max-age to leverage browser caching for hashed Vite build artifacts.
  • Gzip compression: gzip on; gzip_types text/plain application/javascript text/css; to reduce payload sizes.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-frontend/docker/nginx/default.conf around lines 1 - 10,
Update the nginx server block (the existing server { ... } and location /) to
add security headers using add_header for X-Frame-Options,
X-Content-Type-Options, Referrer-Policy and a suitable Content-Security-Policy;
add a nested location ~* \.(js|css|png|jpg|jpeg|svg|ico|woff2?)$ block to set
expires and Cache-Control headers for hashed Vite assets; and enable gzip (gzip
on; gzip_types ...) at the top-level server context so responses are
compressed—apply these changes to the same server { } and location / definitions
referenced in the diff.
{{project_name}}-job/test/test_main.py.jinja (2)

27-27: ⚡ Quick win

Brittle monkeypatch lambda — will break if AsyncClient call gains additional kwargs

lambda timeout: DummyClient() only accepts the single timeout keyword argument. If main.py adds any other keyword argument to the httpx.AsyncClient(...) call, the test will raise TypeError instead of failing cleanly.

♻️ More resilient lambda
-    monkeypatch.setattr(main.httpx, "AsyncClient", lambda timeout: DummyClient())
+    monkeypatch.setattr(main.httpx, "AsyncClient", lambda **kwargs: DummyClient())
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-job/test/test_main.py.jinja at line 27, The monkeypatch
uses a lambda that only accepts a single timeout arg which is brittle; update
the monkeypatch.setattr call that replaces main.httpx.AsyncClient so the
replacement accepts arbitrary args/kwargs (e.g., a function taking *args,
**kwargs that returns DummyClient()) to avoid TypeError if
main.httpx.AsyncClient is later called with additional parameters; reference the
monkeypatch.setattr invocation and DummyClient in your change.

31-31: ⚡ Quick win

captured["url"] raises KeyError rather than an AssertionError when get() is never called

If the test's setup is broken and .get() is never invoked, captured["url"] propagates a KeyError, giving a misleading failure message.

♻️ Clearer assertion
-    assert captured["url"] == main.EXAMPLE_URL
+    assert captured.get("url") == main.EXAMPLE_URL, "httpx.AsyncClient.get() was never called"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-job/test/test_main.py.jinja at line 31, The test currently
indexes captured["url"] which raises KeyError if .get() was never called; change
the assertion to first assert the key exists (e.g., assert "url" in captured) or
use captured.get("url") in the equality check so the failure becomes an
AssertionError comparing the expected value main.EXAMPLE_URL to the actual (or
None) rather than a KeyError; update the assertion in test_main (the line
referencing captured and main.EXAMPLE_URL) accordingly.
.github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja (1)

19-20: ⚡ Quick win

Unpinned @v4 action tags vs. SHA-pinned actions in ruff.yml.

ruff.yml uses immutable commit SHAs for supply-chain safety; this template uses floating @v4 tags. Generated projects inherit the weaker posture. Consider pinning to SHAs (with a version comment) for consistency.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja around
lines 19 - 20, Replace the floating action tags actions/checkout@v4 and
astral-sh/setup-uv@v4 with SHA-pinned references to specific commits (e.g.,
actions/checkout@<commit-sha>) and add a short inline comment indicating the
original version (e.g., // pinned to v4-<reason>) so the workflow matches the
immutable, supply-chain-safe approach used in ruff.yml; ensure you update both
occurrences (actions/checkout and astral-sh/setup-uv) and keep the comment
describing the chosen SHA and the corresponding tag/version.
{{project_name}}-backend/pyproject.toml.jinja (2)

11-11: 💤 Low value

pyyaml has no visible use in the generated app scaffold — verify it's intentional.

pyyaml is listed as a runtime dependency, but neither app.py.jinja nor settings.py.jinja import or use it. If it's anticipating future use, document that intent or remove it to keep the generated project lean.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-backend/pyproject.toml.jinja at line 11, pyyaml is listed
as a runtime dependency in the pyproject.toml.jinja template but there is no
usage in the generated scaffold (app.py.jinja or settings.py.jinja); either
remove the "pyyaml>=6.0.3" entry from the pyproject.toml.jinja template to avoid
shipping an unused dependency, or explicitly document its intended future use in
the template and add a minimal, commented example import/usage in app.py.jinja
or settings.py.jinja (or move it to an optional/dev dependency group) so the
presence of pyyaml is intentional and discoverable.

19-19: ⚡ Quick win

Add asyncio_mode to pytest config to avoid implicit-mode warnings.

pytest-asyncio>=1.0 requires explicit asyncio_mode configuration. Without it, any async tests added by users of this template will trigger warnings or errors. Add to [tool.pytest.ini_options]:

♻️ Proposed addition
 [tool.pytest.ini_options]
 pythonpath = ["."]
 testpaths = ["test"]
+asyncio_mode = "auto"
 addopts = ["--cov={{ module_name }}", "--cov-report=term-missing"]
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-backend/pyproject.toml.jinja at line 19, Add an explicit
asyncio_mode setting to the pytest config to suppress pytest-asyncio
implicit-mode warnings: in the [tool.pytest.ini_options] block of
pyproject.toml.jinja (the pytest config for this project), add the key
asyncio_mode with a value such as "auto" (or "strict" if you want stricter
behavior) so pytest-asyncio>=1.0 has an explicit mode instead of relying on
implicit detection.
{{project_name}}-job/Dockerfile.jinja (1)

11-19: ⚡ Quick win

Copy uv.lock alongside pyproject.toml for fully reproducible builds.

The two-step caching pattern only copies pyproject.toml. Without a lockfile, uv sync re-resolves on every build. While add-bounds = "exact" in pyproject.toml.jinja pins to exact versions, it does not substitute a lockfile for transitive dependencies. Adding uv.lock to the first copy step enables --frozen for deterministic installs:

♻️ Proposed fix
-COPY pyproject.toml ./
+COPY pyproject.toml uv.lock ./
 
 RUN --mount=type=cache,target=/root/.cache/uv \
-    uv sync --no-dev --no-install-project
+    uv sync --no-dev --no-install-project --frozen
 
 COPY . /app/job/
 
 RUN --mount=type=cache,target=/root/.cache/uv \
-    uv sync --no-dev
+    uv sync --no-dev --frozen
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-job/Dockerfile.jinja around lines 11 - 19, The build copies
only pyproject.toml so uv sync re-resolves dependencies; update the first COPY
to include uv.lock alongside pyproject.toml and run uv sync with the --frozen
flag for deterministic installs (i.e., adjust the COPY that currently references
pyproject.toml and the uv sync invocation(s) so they include uv.lock and
--frozen), keeping the two-step caching pattern and existing uv sync options
like --no-dev/--no-install-project.
{{project_name}}-frontend/package.json.jinja (1)

8-8: 💤 Low value

--noCheck in the build script silently ignores type errors.

vue-tsc --build --noCheck && vite build will succeed even with TypeScript errors, meaning npm run build alone is not a type-safety gate. The dedicated typecheck script must be run separately (or added to CI) to catch type errors. Consider documenting this split in the generated README or adding a typecheck step to the frontend CI workflow.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-frontend/package.json.jinja at line 8, The build script
uses "vue-tsc --build --noCheck && vite build" which silences TypeScript errors;
update scripts so type errors are enforced by either removing the --noCheck flag
from the "build" command or adding a dedicated "typecheck" script (e.g.,
"typecheck": "vue-tsc --noEmit" or equivalent) and invoking it before the Vite
build; modify the "build" script or CI workflow to run the new typecheck step
(refer to the "build" script and add a "typecheck" script name in package.json)
so npm run build fails on type errors.
{{project_name}}-backend/Dockerfile.jinja (1)

3-3: ⚡ Quick win

Pin uv to a specific version instead of :latest for reproducible builds

COPY --from=ghcr.io/astral-sh/uv:latest can pull a different uv version on each build, which may silently change resolution or sync behavior.

♻️ Proposed fix
-COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
+COPY --from=ghcr.io/astral-sh/uv:0.7.8 /uv /uvx /bin/

(Replace 0.7.8 with the pinned version your project has validated against.)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-backend/Dockerfile.jinja at line 3, The Dockerfile uses an
unpinned base image reference in the COPY instruction (COPY
--from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/), which makes builds
non-reproducible; update the source image to a specific validated tag (eg.
ghcr.io/astral-sh/uv:0.7.8) in that COPY --from=... statement so the uv version
is pinned and reproducible across builds.
.github/workflows/deploy-docs.yml (1)

52-52: ⚡ Quick win

actions/deploy-pages should be pinned to a commit SHA for consistency

Every other action in this workflow is pinned to a full commit hash, but actions/deploy-pages@v4 uses a floating tag. A supply-chain compromise of this action would have elevated impact since it has id-token: write permission.

♻️ Proposed fix
-              uses: actions/deploy-pages@v4
+              uses: actions/deploy-pages@d6db90164ac2dd8252f4fc6de27d7c2c8cdbecfe # v4.0.5

(Verify the latest SHA from the actions/deploy-pages releases page before pinning.)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/deploy-docs.yml at line 52, Replace the floating tag on
the GitHub Action usage for actions/deploy-pages (currently referenced as
actions/deploy-pages@v4) with a pinned full commit SHA; locate the step that
uses "uses: actions/deploy-pages@v4" and change it to "uses:
actions/deploy-pages@<full-commit-sha>" after verifying the latest release
commit SHA from the actions/deploy-pages releases page, so the workflow is
pinned to an immutable commit instead of a floating tag.
.github/workflows/{% if frontend %}docker-release-frontend.yml{% endif %}.jinja (1)

24-27: ⚡ Quick win

Pin action versions to commit SHAs for supply-chain safety

actions/checkout@v4.2.2, docker/setup-qemu-action@v3.6.0, etc. use floating version tags. The peer workflow deploy-docs.yml pins every action to its full commit SHA. Apply the same pattern here.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/{% if frontend %}docker-release-frontend.yml{% endif
%}.jinja around lines 24 - 27, The workflow uses floating action tags
(actions/checkout@v4.2.2, docker/setup-qemu-action@v3.6.0,
docker/setup-buildx-action@v3.11.1, docker/login-action@v3.4.0); replace each
uses: reference with the corresponding full commit SHA (pin to exact commit) to
match the supply-chain safety approach used in deploy-docs.yml—locate the four
uses: lines containing actions/checkout, docker/setup-qemu-action,
docker/setup-buildx-action, and docker/login-action and update their tag to the
full SHA for the exact release you intend to lock to.
copier.yml (1)

38-42: ⚡ Quick win

Base image defaults use :latest — non-reproducible builds.

Both backend_ubi10_base_image and job_ubi10_base_image default to registry.access.redhat.com/ubi10/ubi-minimal:latest. The :latest tag is a floating reference that can silently pull a different image between builds. The frontend Dockerfile already pins to a specific digest-like version (10.1-1775622738). Consider defaulting to pinned versions for consistency and reproducibility, for example:

 backend_ubi10_base_image:
   type: str
-  default: registry.access.redhat.com/ubi10/ubi-minimal:latest
+  default: registry.access.redhat.com/ubi10/ubi-minimal:10.1-<digest>
   choices:
-    UBI 10 regular: registry.access.redhat.com/ubi10/ubi:latest
+    UBI 10 regular: registry.access.redhat.com/ubi10/ubi:10.1-<digest>
-    UBI 10 minimal: registry.access.redhat.com/ubi10/ubi-minimal:latest
+    UBI 10 minimal: registry.access.redhat.com/ubi10/ubi-minimal:10.1-<digest>
-    UBI 10 micro: registry.access.redhat.com/ubi10/ubi-micro:latest
+    UBI 10 micro: registry.access.redhat.com/ubi10/ubi-micro:10.1-<digest>

(Apply the same change to job_ubi10_base_image.)

Also applies to: 48-52

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@copier.yml` around lines 38 - 42, Default base image values
backend_ubi10_base_image and job_ubi10_base_image currently use floating :latest
tags; change both defaults to a pinned, reproducible image reference (e.g.,
replace registry.access.redhat.com/ubi10/ubi-minimal:latest with the specific
pinned version used by the frontend such as
registry.access.redhat.com/ubi10/ubi-minimal:10.1-1775622738 or an equivalent
digest) so builds are deterministic; update both occurrences (the UBI 10 minimal
defaults and the job_ubi10_base_image counterpart) to the same pinned
tag/digest.
{{project_name}}-frontend/Dockerfile.jinja (1)

5-7: ⚡ Quick win

Use npm ci with package-lock.json for reproducible builds.

npm install without a lock file allows npm to resolve different dependency versions on each build. Copy package-lock.json and switch to npm ci so the generated project's Docker builds are deterministic.

♻️ Proposed fix
-COPY package.json ./
+COPY package.json package-lock.json ./
 
-RUN npm install
+RUN npm ci
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{project_name}}-frontend/Dockerfile.jinja around lines 5 - 7, Update the
Dockerfile.jinja to produce reproducible installs by copying the lockfile and
using npm ci: ensure the Docker steps that currently COPY package.json and RUN
npm install also COPY package-lock.json (or package-lock.json and
npm-shrinkwrap.json if present) and replace RUN npm install with RUN npm ci so
the build uses deterministic dependency versions; adjust any related build cache
ordering to keep package files copied before installing.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja:
- Around line 27-28: The workflow template currently injects OPENAI_API_KEY:
dummykey unconditionally; remove this env entry from the .github workflow Jinja
template (the OPENAI_API_KEY line) unless the project actually scaffolds an
OpenAI integration; alternatively make it conditional (e.g., include only when a
flag like enable_openai is set) and, if kept, update pyproject.toml.jinja to add
the OpenAI SDK dependency and document the variable in README or
settings.py.jinja so the secret is justified and not flagged as a leaked dummy
key.
- Around line 3-28: The workflow YAML is invalid because keys like on,
pull_request, permissions.contents, jobs.backend-tests,
defaults.run.working-directory, steps, with.python-version-file and
env.OPENAI_API_KEY are all at document root instead of nested; fix by properly
indenting child keys (e.g., indent pull_request and its paths under on:, indent
contents under permissions:, place backend-tests under jobs: with its runs-on,
defaults, steps and env nested inside that job) using consistent spaces (e.g.,
two spaces) so the structure (on -> pull_request -> paths, permissions ->
contents, jobs -> backend-tests -> runs-on/defaults/steps/env, and the step with
-> python-version-file) is valid YAML.

In @.github/workflows/{% if backend %}docker-release-backend.yml{% endif
%}.jinja:
- Around line 49-50: The echo redirect is split across two lines causing a bash
syntax error; locate the echo that writes repo_lowercase (the line containing
echo "repo_lowercase=$(echo '{% raw %}${{ github.repository }}{% endraw %}' | tr
'[:upper:]' '[:lower:]')") and the subsequent standalone $GITHUB_OUTPUT token
and combine them into a single proper redirect so the echo appends to the
outputs file (use >> "$GITHUB_OUTPUT"), ensuring the $GITHUB_OUTPUT variable is
quoted.

In @.github/workflows/{% if frontend %}docker-release-frontend.yml{% endif
%}.jinja:
- Around line 20-22: The workflow's permissions block grants overly broad rights
by setting actions: write; update the permissions object so it removes or
downgrades actions: write (delete that write permission) and instead specifies
contents: read and packages: write so the build-and-push job only has read
access to repository contents and write access to packages; ensure the
permissions keys (permissions, actions, packages, contents) reflect
least-privilege and that only packages: write and contents: read remain.
- Around line 1-63: This workflow template has lost all YAML indentation making
it invalid; restore proper YAML indentation for top-level keys (permissions, on,
workflow_dispatch, jobs), for the job block build-and-push-frontend (runs-on,
permissions, steps) and for each step (uses/with/run) so that nested keys (e.g.,
steps -> - uses: docker/login-action@..., with -> registry/username/password)
are indented correctly; also remove the unnecessary actions: write entry under
the job permissions (leave packages: write) and optionally pin action usages
(e.g., actions/checkout, docker/setup-qemu-action, docker/setup-buildx-action,
docker/login-action, docker/build-push-action) to commit SHAs if you want
reproducible runs.

In @.github/workflows/{% if job %}docker-release-job.yml{% endif %}.jinja:
- Around line 49-50: The shell line split causes a syntax error because the
redirection operator is on a separate line; combine the echo and redirect so the
redirection is on the same line (e.g., write the command that sets
repo_lowercase and append it to $GITHUB_OUTPUT in one line) — locate the echo
that produces "repo_lowercase=$(echo '${{ github.repository }}' | tr '[:upper:]'
'[:lower:]')" and ensure it is redirected directly to $GITHUB_OUTPUT (or use a
single printf/tee invocation) instead of having ">>" on a separate line.

In @.github/workflows/deploy-docs.yml:
- Around line 33-34: The workflow step that runs the shell command "npm install"
in docs/ will fail because only docs/package.json.jinja exists and npm requires
a real docs/package.json; fix by either committing a valid docs/package.json to
the repo, or change the workflow's "run: npm install" step to guard it (e.g.,
add an if condition or replace the run with a conditional check like test -f
docs/package.json && npm install) so the step is skipped when docs/package.json
is absent (reference the "npm install" step and the
docs/package.json.jinja/docs/package.json filenames to locate the code to
change).

In @.github/workflows/scorecard.yml:
- Around line 17-18: Remove the unreachable pull_request branch from the
conditional that gates the Scorecard workflow: the expression "github.event_name
== 'pull_request'" is dead because there is no pull_request trigger in the
workflow; update the if expression so it only checks the meaningful condition
(e.g., "github.event.repository.default_branch == github.ref_name") thereby
eliminating the redundant github.event_name comparison.

In @{{project_name}}-backend/.dockerignore:
- Around line 1-8: Add patterns to the .dockerignore to exclude local
environment files so secrets aren’t included in Docker build context: add lines
for .env, .env.*, .env.*.local and *.env (or at minimum .env and .env.*) to the
existing .dockerignore so files like .env, .env.local, and any environment
variants are ignored during docker builds.

In @{{project_name}}-backend/Dockerfile.jinja:
- Around line 11-14: The Dockerfile currently copies only pyproject.toml before
running `uv sync`, causing `uv sync --no-dev --no-install-project` to resolve
fresh versions; update the first `COPY` step to include `uv.lock` alongside
`pyproject.toml` so `uv sync` uses the committed lockfile (ensure the same
source paths used later by the `COPY . /app/backend/` step), i.e., change the
initial `COPY pyproject.toml ./` to copy both `pyproject.toml` and `uv.lock` so
dependency installation is deterministic and compatible with the later full
`COPY`.
- Line 38: Add a non-root user and switch to it before the ENTRYPOINT to avoid
running the container as root: create a user/group (e.g., appuser/appgroup or
UID 1000), chown the app files (the /app directory used by the image), and add a
USER instruction just above the existing ENTRYPOINT
["/app/backend/.venv/bin/python", "main.py"] so the process runs as that
non-root user instead of root.

In @{{project_name}}-job/.dockerignore:
- Around line 1-8: Add patterns that exclude environment files from the Docker
build context by updating the .dockerignore to include `.env` and common
variants (e.g. `.env*`, `.env.local`, `.env.*`, and `.env.production`) so
secrets aren’t copied into images; append these entries to the existing list in
the .dockerignore file.

In @{{project_name}}-job/Dockerfile.jinja:
- Line 3: The COPY line in the Dockerfile.jinja currently references
ghcr.io/astral-sh/uv:latest; replace that floating tag with a pinned image
(either a fixed version tag or an image digest such as sha256) so builds are
reproducible and secure; update the COPY --from=... reference used in the
Dockerfile.jinja (the line containing "COPY --from=ghcr.io/astral-sh/uv:latest
/uv /uvx /bin/") to point at the chosen pinned tag/digest and commit the change.
- Line 38: The Dockerfile currently sets ENTRYPOINT
["/app/job/.venv/bin/python", "main.py"] so the container runs as root; add a
non-root user and switch to it before the ENTRYPOINT. Create a dedicated user
(e.g., jobuser or appuser), chown the application directory (/app) to that user,
set USER to the new UID/GID, and ensure these steps occur before the ENTRYPOINT
instruction so main.py runs as the non-root user.

In `@copier.yml`:
- Around line 36-54: The when conditions for backend_ubi10_base_image and
job_ubi10_base_image reference variables backend and job that are declared
later, causing both questions to be skipped; move the boolean toggles backend,
frontend, and job so they appear earlier in copier.yml (before
backend_ubi10_base_image and job_ubi10_base_image) so the when: "{{ backend }}"
and when: "{{ job }}" conditions evaluate correctly, and update the default
image values for backend_ubi10_base_image and job_ubi10_base_image to pinned
image tags instead of :latest to ensure reproducible builds.

In `@docs/.vitepress/config.mts.jinja`:
- Around line 3-10: The generated config file mis-indents properties inside the
defineConfig({ … }) call (title, description, themeConfig) causing non-idiomatic
formatting; update the template so the object properties are indented one level
inside the defineConfig block (adjust the template around defineConfig, title,
description, themeConfig) so the scaffolded output has proper nested indentation
and will not trigger Prettier reformatting on first commit.

In `@README.md.jinja`:
- Around line 51-59: The generated README.md.jinja currently includes Copier
install instructions under the "Set up" section (the triple-backtick snippet
that calls "uv tool install ... copier"), which is only relevant to template
maintainers; remove that Copier-specific snippet from the "Set up" block and
replace it with project-focused setup/run instructions (e.g., dependency
installation, environment variables, start/dev/test commands) so end users know
how to run the project; move the Copier/Jinja-extension guidance into a
maintainer-facing doc (e.g., MAINTAINER.md or CONTRIBUTING.md) and mention in
README.md.jinja that template maintenance details live in that file, ensuring
you update the "Set up" header and the snippet that currently references the uv
tool installation accordingly.
- Line 5: Fix the typo in the README template by replacing the misspelled word
"desciption" (search for the literal string "Add a long desciption.") with the
correct spelling "description" so the line reads "Add a long description.";
update the README.md.jinja instance where that phrase appears.
- Line 96: The docs link currently hard-codes the GitHub org
("https://it-at-m.github.io/{{ project_name }}/") which will break for other
owners; update the reference identified as "docs-website" to use the repository
owner template (e.g., "https://{{ repository_owner }}.github.io/{{ project_name
}}/") and ensure the template context provides repository_owner so the
badge/link resolves correctly.

---

Nitpick comments:
In @.github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja:
- Around line 19-20: Replace the floating action tags actions/checkout@v4 and
astral-sh/setup-uv@v4 with SHA-pinned references to specific commits (e.g.,
actions/checkout@<commit-sha>) and add a short inline comment indicating the
original version (e.g., // pinned to v4-<reason>) so the workflow matches the
immutable, supply-chain-safe approach used in ruff.yml; ensure you update both
occurrences (actions/checkout and astral-sh/setup-uv) and keep the comment
describing the chosen SHA and the corresponding tag/version.

In @.github/workflows/{% if frontend %}docker-release-frontend.yml{% endif
%}.jinja:
- Around line 24-27: The workflow uses floating action tags
(actions/checkout@v4.2.2, docker/setup-qemu-action@v3.6.0,
docker/setup-buildx-action@v3.11.1, docker/login-action@v3.4.0); replace each
uses: reference with the corresponding full commit SHA (pin to exact commit) to
match the supply-chain safety approach used in deploy-docs.yml—locate the four
uses: lines containing actions/checkout, docker/setup-qemu-action,
docker/setup-buildx-action, and docker/login-action and update their tag to the
full SHA for the exact release you intend to lock to.

In @.github/workflows/deploy-docs.yml:
- Line 52: Replace the floating tag on the GitHub Action usage for
actions/deploy-pages (currently referenced as actions/deploy-pages@v4) with a
pinned full commit SHA; locate the step that uses "uses:
actions/deploy-pages@v4" and change it to "uses:
actions/deploy-pages@<full-commit-sha>" after verifying the latest release
commit SHA from the actions/deploy-pages releases page, so the workflow is
pinned to an immutable commit instead of a floating tag.

In @{{project_name}}-backend/Dockerfile.jinja:
- Line 3: The Dockerfile uses an unpinned base image reference in the COPY
instruction (COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/), which
makes builds non-reproducible; update the source image to a specific validated
tag (eg. ghcr.io/astral-sh/uv:0.7.8) in that COPY --from=... statement so the uv
version is pinned and reproducible across builds.

In @{{project_name}}-backend/pyproject.toml.jinja:
- Line 11: pyyaml is listed as a runtime dependency in the pyproject.toml.jinja
template but there is no usage in the generated scaffold (app.py.jinja or
settings.py.jinja); either remove the "pyyaml>=6.0.3" entry from the
pyproject.toml.jinja template to avoid shipping an unused dependency, or
explicitly document its intended future use in the template and add a minimal,
commented example import/usage in app.py.jinja or settings.py.jinja (or move it
to an optional/dev dependency group) so the presence of pyyaml is intentional
and discoverable.
- Line 19: Add an explicit asyncio_mode setting to the pytest config to suppress
pytest-asyncio implicit-mode warnings: in the [tool.pytest.ini_options] block of
pyproject.toml.jinja (the pytest config for this project), add the key
asyncio_mode with a value such as "auto" (or "strict" if you want stricter
behavior) so pytest-asyncio>=1.0 has an explicit mode instead of relying on
implicit detection.

In @{{project_name}}-frontend/docker/nginx/default.conf:
- Around line 1-10: Update the nginx server block (the existing server { ... }
and location /) to add security headers using add_header for X-Frame-Options,
X-Content-Type-Options, Referrer-Policy and a suitable Content-Security-Policy;
add a nested location ~* \.(js|css|png|jpg|jpeg|svg|ico|woff2?)$ block to set
expires and Cache-Control headers for hashed Vite assets; and enable gzip (gzip
on; gzip_types ...) at the top-level server context so responses are
compressed—apply these changes to the same server { } and location / definitions
referenced in the diff.

In @{{project_name}}-frontend/Dockerfile.jinja:
- Around line 5-7: Update the Dockerfile.jinja to produce reproducible installs
by copying the lockfile and using npm ci: ensure the Docker steps that currently
COPY package.json and RUN npm install also COPY package-lock.json (or
package-lock.json and npm-shrinkwrap.json if present) and replace RUN npm
install with RUN npm ci so the build uses deterministic dependency versions;
adjust any related build cache ordering to keep package files copied before
installing.

In @{{project_name}}-frontend/package.json.jinja:
- Line 8: The build script uses "vue-tsc --build --noCheck && vite build" which
silences TypeScript errors; update scripts so type errors are enforced by either
removing the --noCheck flag from the "build" command or adding a dedicated
"typecheck" script (e.g., "typecheck": "vue-tsc --noEmit" or equivalent) and
invoking it before the Vite build; modify the "build" script or CI workflow to
run the new typecheck step (refer to the "build" script and add a "typecheck"
script name in package.json) so npm run build fails on type errors.

In @{{project_name}}-job/Dockerfile.jinja:
- Around line 11-19: The build copies only pyproject.toml so uv sync re-resolves
dependencies; update the first COPY to include uv.lock alongside pyproject.toml
and run uv sync with the --frozen flag for deterministic installs (i.e., adjust
the COPY that currently references pyproject.toml and the uv sync invocation(s)
so they include uv.lock and --frozen), keeping the two-step caching pattern and
existing uv sync options like --no-dev/--no-install-project.

In @{{project_name}}-job/test/test_main.py.jinja:
- Line 27: The monkeypatch uses a lambda that only accepts a single timeout arg
which is brittle; update the monkeypatch.setattr call that replaces
main.httpx.AsyncClient so the replacement accepts arbitrary args/kwargs (e.g., a
function taking *args, **kwargs that returns DummyClient()) to avoid TypeError
if main.httpx.AsyncClient is later called with additional parameters; reference
the monkeypatch.setattr invocation and DummyClient in your change.
- Line 31: The test currently indexes captured["url"] which raises KeyError if
.get() was never called; change the assertion to first assert the key exists
(e.g., assert "url" in captured) or use captured.get("url") in the equality
check so the failure becomes an AssertionError comparing the expected value
main.EXAMPLE_URL to the actual (or None) rather than a KeyError; update the
assertion in test_main (the line referencing captured and main.EXAMPLE_URL)
accordingly.

In `@copier.yml`:
- Around line 38-42: Default base image values backend_ubi10_base_image and
job_ubi10_base_image currently use floating :latest tags; change both defaults
to a pinned, reproducible image reference (e.g., replace
registry.access.redhat.com/ubi10/ubi-minimal:latest with the specific pinned
version used by the frontend such as
registry.access.redhat.com/ubi10/ubi-minimal:10.1-1775622738 or an equivalent
digest) so builds are deterministic; update both occurrences (the UBI 10 minimal
defaults and the job_ubi10_base_image counterpart) to the same pinned
tag/digest.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 061a09e0-864f-4a5a-b0c1-ab9f12062605

📥 Commits

Reviewing files that changed from the base of the PR and between f10de98 and c33c982.

📒 Files selected for processing (64)
  • .coderabbit.yaml
  • .github/workflows/dependency-review.yml
  • .github/workflows/deploy-docs.yml
  • .github/workflows/ruff.yml
  • .github/workflows/scorecard.yml
  • .github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja
  • .github/workflows/{% if backend %}docker-release-backend.yml{% endif %}.jinja
  • .github/workflows/{% if frontend %}docker-release-frontend.yml{% endif %}.jinja
  • .github/workflows/{% if job %}docker-release-job.yml{% endif %}.jinja
  • .pre-commit-config.yaml
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • Dockerfile
  • LICENSE
  • LICENSE.jinja
  • README.md
  • README.md.jinja
  • compose.yaml.jinja
  • copier.yml
  • docs/.gitkeep
  • docs/.npmrc
  • docs/.prettierignore
  • docs/.prettierrc
  • docs/.vitepress/config.mts.jinja
  • docs/guide/index.md.jinja
  • docs/index.md.jinja
  • docs/package.json.jinja
  • renovate.json5
  • renovate.json5.jinja
  • ruff.toml.jinja
  • {{ _copier_conf.answers_file }}.jinja
  • {{project_name}}-backend/.dockerignore
  • {{project_name}}-backend/.python-version
  • {{project_name}}-backend/Dockerfile.jinja
  • {{project_name}}-backend/README.md.jinja
  • {{project_name}}-backend/main.py.jinja
  • {{project_name}}-backend/pyproject.toml.jinja
  • {{project_name}}-backend/test/test_app.py.jinja
  • {{project_name}}-backend/{{module_name}}/app.py.jinja
  • {{project_name}}-backend/{{module_name}}/settings.py.jinja
  • {{project_name}}-frontend/.dockerignore
  • {{project_name}}-frontend/.npmrc
  • {{project_name}}-frontend/.prettierignore
  • {{project_name}}-frontend/.prettierrc
  • {{project_name}}-frontend/Dockerfile.jinja
  • {{project_name}}-frontend/README.md.jinja
  • {{project_name}}-frontend/docker/nginx/default.conf
  • {{project_name}}-frontend/index.html.jinja
  • {{project_name}}-frontend/package.json.jinja
  • {{project_name}}-frontend/src/App.vue.jinja
  • {{project_name}}-frontend/src/main.ts
  • {{project_name}}-frontend/src/style.css
  • {{project_name}}-frontend/tsconfig.app.json
  • {{project_name}}-frontend/tsconfig.json
  • {{project_name}}-frontend/tsconfig.node.json
  • {{project_name}}-frontend/vite.config.ts
  • {{project_name}}-job/.dockerignore
  • {{project_name}}-job/.python-version
  • {{project_name}}-job/Dockerfile.jinja
  • {{project_name}}-job/README.md.jinja
  • {{project_name}}-job/main.py
  • {{project_name}}-job/pyproject.toml.jinja
  • {{project_name}}-job/test/test_main.py.jinja
  • {{project_name}}-job/{{module_name}}/worker.py
💤 Files with no reviewable changes (2)
  • Dockerfile
  • renovate.json5
📜 Review details
🧰 Additional context used
🪛 Hadolint (2.14.0)
{{project_name}}-backend/Dockerfile.jinja

[error] 1-1: unexpected 'b'
expecting '#', '', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, a pragma, at least one space, or end of input

(DL1000)

{{project_name}}-job/Dockerfile.jinja

[error] 1-1: unexpected 'j'
expecting '#', '', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, a pragma, at least one space, or end of input

(DL1000)

🪛 LanguageTool
CONTRIBUTING.md

[grammar] ~3-~3: Use a hyphen to join words.
Context: ...ng Contributions are what make the open source community such an amazing place t...

(QB_NEW_EN_HYPHEN)


[style] ~3-~3: Consider using a more formal and expressive alternative to ‘amazing’.
Context: ...hat make the open source community such an amazing place to learn, inspire, and create. An...

(AWESOME)


[style] ~5-~5: Consider using a shorter alternative to avoid wordiness.
Context: ...*. If you have a suggestion that would make this better, please open an issue with the tag "enh...

(MADE_IT_JJR)

README.md

[style] ~161-~161: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...uration matches the chosen components. If a directory is unexpectedly missing, re...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🪛 Trivy (0.69.3)
{{project_name}}-frontend/Dockerfile.jinja

[error] 1-1: Image user should not be 'root'

Specify at least 1 USER command in Dockerfile with non-root user as argument

Rule: DS-0002

Learn more

(IaC/Dockerfile)

🔇 Additional comments (43)
.coderabbit.yaml (1)

1-7: LGTM — configuration is schema-compliant.

All four keys (profile, review_status, auto_review.enabled, auto_incremental_review) match their correct types and are valid per the CodeRabbit schema. Worth noting: every value set here matches its schema default, so this file is currently equivalent to having no .coderabbit.yaml at all. That's fine as a starting scaffold, but keep it in mind if you intend to diverge from defaults later.

{{project_name}}-frontend/.prettierignore (1)

1-2: LGTM!

Standard ignore patterns for a frontend project. Correctly excludes build output and dependencies from Prettier formatting.

LICENSE (1)

3-21: LGTM!

The copyright year update to 2026 is appropriate, and the MIT License text is complete and correctly formatted.

{{project_name}}-frontend/README.md.jinja (1)

1-10: LGTM!

Clear and concise README template with appropriate starter instructions for a Vue 3 + Vite + TypeScript project.

{{project_name}}-frontend/.dockerignore (1)

1-4: LGTM!

Appropriate exclusions for the multi-stage Docker build. The dist folder is correctly excluded since it's generated fresh inside the container via npm run build, as shown in the Dockerfile's builder stage.

LICENSE.jinja (1)

1-21: LGTM!

The Jinja template correctly uses dynamic year rendering ({% now 'utc', '%Y' %}) for the copyright notice, ensuring generated projects have the current year. The MIT License text is complete and properly formatted.

{{project_name}}-backend/.python-version (1)

1-1: Verify that Python 3.14.4 is available.

Same concern as {{project_name}}-job/.python-version: Python 3.14.4 may not yet be released. This will cause failures in the GitHub Actions workflow that uses this file via astral-sh/setup-uv to install Python and run backend tests.

See verification queries in the review comment for {{project_name}}-job/.python-version.

{{project_name}}-frontend/.prettierrc (1)

1-1: LGTM!

Correctly references the organization's shared Prettier configuration. This ensures consistent formatting across the frontend workspace and aligns with the docs configuration.

{{project_name}}-job/.python-version (1)

1-1: No action required—Python 3.14.4 is available.

Python 3.14.4 was released on April 7, 2026, making it the latest stable version as of the current date. This version specification is valid and will not cause failures in CI/CD pipelines, local development environments, or Docker builds.

			> Likely an incorrect or invalid review comment.
docs/.prettierrc (1)

1-1: LGTM!

Valid Prettier shared-config reference; consistent with {{project_name}}-frontend/.prettierrc.

docs/.prettierignore (1)

1-2: LGTM!

Standard ignores — dist aligns with the VitePress build output and node_modules is expected.

{{project_name}}-backend/README.md.jinja (1)

1-10: LGTM!

Template variable, uv commands, and structure are all consistent with the scaffold.

{{project_name}}-frontend/.npmrc (1)

1-2: LGTM!

omit-lockfile-registry-resolved is a valid npm config that "causes npm to create lock files without a resolved key for registry dependencies" — a sensible default for teams using private registry mirrors.

{{project_name}}-job/README.md.jinja (1)

1-10: LGTM!

Structure and commands are consistent with the backend README and the job component's scaffold.

{{project_name}}-frontend/tsconfig.app.json (1)

1-4: LGTM!

Minimal, idiomatic Vue TypeScript config; compiler options from @vue/tsconfig/tsconfig.dom.json are sufficient.

docs/.npmrc (1)

1-2: LGTM!

Consistent with {{project_name}}-frontend/.npmrc; valid and useful for registry portability.

{{project_name}}-frontend/src/App.vue.jinja (1)

1-6: LGTM.

The {{ project_name }} expression is correctly scoped as a Jinja-time substitution; the generated App.vue will contain no unresolved template tokens.

.github/workflows/dependency-review.yml (1)

10-10: LGTM.

The composite action is pinned to a full commit SHA with an inline version comment — correct supply-chain hygiene.

CODE_OF_CONDUCT.md (1)

34-35: LGTM.

The corrected wording on Line 34 and the restored translations link are clean fixes.

CONTRIBUTING.md (1)

1-16: LGTM.

renovate.json5.jinja (1)

1-38: LGTM.

The extend ordering is intentional: helpers:pinGitHubActionDigestsToSemver supersedes the helpers:pinGitHubActionDigests from config:best-practices, and :pinAllExceptPeerDependencies correctly overrides config:best-practices's :pinDevDependencies for an application (non-library) template.

{{ _copier_conf.answers_file }}.jinja (1)

1-2: LGTM.

Standard Copier answers file template — the to_nice_yaml filter and "never edit manually" guard are the correct idiomatic pattern.

{{project_name}}-frontend/src/main.ts (1)

1-5: LGTM — standard Vue 3 entrypoint; mount target #app aligns with the <div id="app"></div> in index.html.jinja, and all three imports resolve to corresponding template files.

{{project_name}}-frontend/tsconfig.json (1)

1-4: LGTM — standard Vite + Vue 3 TypeScript project references configuration.

{{project_name}}-backend/test/test_app.py.jinja (1)

1-12: LGTM — test assertions correctly match the GET /api/healthz handler in app.py.jinja (status 200, body {"status": "ok"}).

docs/guide/index.md.jinja (1)

1-5: LGTM — minimal placeholder guide; {{ project_name }} interpolation is consistent with the rest of the template.

{{project_name}}-frontend/vite.config.ts (1)

1-6: LGTM — minimal valid Vite + Vue config; serves as a clean starting point.

{{project_name}}-backend/main.py.jinja (1)

1-7: LGTM — host="0.0.0.0" is appropriate for the container context shown in Dockerfile.jinja; reload=False is correct for production; deferring the uvicorn import inside the guard keeps it out of the non-main dependency surface.

{{project_name}}-job/{{module_name}}/worker.py (1)

3-7: ⚡ Quick win

This review comment is analyzing a Jinja template file with literal variable placeholders and doesn't account for the actual repository structure and documentation.

The file {{project_name}}-job/{{module_name}}/worker.py is a template file in a template repository. The paths and module names are Jinja variables that will be substituted when the template is instantiated. More importantly, the documented execution method in README.md.jinja is uv run python main.py, not direct execution of worker.py.

The original review's suggestion to use python -m {{module_name}}.worker as a workaround is not viable—there are no __init__.py files in this template structure, so {{module_name}} cannot be treated as a package, making the -m invocation impossible.

Rather than proposing template-specific fixes (which may not apply to the projects generated from this template), consider:

  • Clarifying in documentation or comments that worker.py is an example alternative implementation

  • If worker.py is meant as a runnable entry point in generated projects, the template generation process should also create appropriate __init__.py files and ensure proper package structure

  • Focus on whether the design pattern (relative imports in example files) is the intended template output for generated projects

      		> Likely an incorrect or invalid review comment.
    
{{project_name}}-frontend/src/style.css (1)

1-18: LGTM — clean baseline stylesheet for a Vue template starter.

docs/index.md.jinja (1)

1-19: LGTM — valid VitePress home-page frontmatter structure.

{{project_name}}-frontend/index.html.jinja (1)

1-15: LGTM — standard HTML5 Vite entry template.

{{project_name}}-job/pyproject.toml.jinja (1)

1-25: LGTM — well-structured pyproject.toml template.

pythonpath = ["."] correctly makes root-level modules importable by pytest, which is needed by the test in test/test_main.py.jinja. Dependency versions are consistent with the Python 3.14 target.

ruff.toml.jinja (1)

34-37: LGTM — py314 target and I (isort) rule addition are both well-chosen.

"py314" is a valid target-version value per Ruff's settings documentation. Adding I to the default select list enables import sorting without any additional tooling, which is a good default for a new project template.

{{project_name}}-frontend/tsconfig.node.json (1)

4-7: ⚡ Quick win

TypeScript version is sufficient for composite: true + noEmit: true combination

The TypeScript version pinned in package.json is 5.9.3, which satisfies the ≥ 5.0 requirement for this configuration. No action needed.

.github/workflows/ruff.yml (1)

1-18: LGTM — SHA-pinned actions with minimal read permissions.

Both action steps use immutable commit SHAs, and the workflow's contents: read permission follows the principle of least privilege.

.pre-commit-config.yaml (1)

1-26: LGTM — hooks well-structured with appropriate auto-fix and secret scanning.

The ruff-check --fix on commit paired with a read-only check gate in CI is the right split. Gitleaks as the last hook catches any secrets slipping through.

{{project_name}}-backend/{{module_name}}/settings.py.jinja (1)

1-11: LGTM — clean pydantic-settings pattern with correct Jinja transforms.

The env_prefix filter chain (upper | replace('-', '_')) correctly handles hyphenated project names, and extra="ignore" prevents breakage when unrelated env vars are present.

{{project_name}}-job/main.py (1)

1-17: LGTM — clean async job entrypoint with proper timeout and error propagation.

raise_for_status() correctly causes a non-zero exit for HTTP errors, which is the right failure signal for a batch job. The 10-second timeout prevents indefinite hangs.

docs/package.json.jinja (1)

1-17: LGTM — clean VitePress + Prettier setup

Pinning prettier exactly while using a caret range for vitepress is reasonable, and the script definitions align with the docs build workflow.

{{project_name}}-backend/{{module_name}}/app.py.jinja (1)

1-15: LGTM — clean FastAPI scaffold

Routes, type annotations, and settings integration are all correct and consistent with main.py.jinja and the test template.

compose.yaml.jinja (1)

1-27: LGTM — port mappings and conditional structure are correct

Backend on 8080:8080, frontend on 8081:8080, and env_file only for stateful services all align with the rest of the template.

README.md (1)

1-182: LGTM — comprehensive and accurate template documentation

Comment thread copier.yml Resolved
Comment thread docs/.vitepress/config.mts.jinja Resolved
Comment thread README.md.jinja Resolved
Comment thread README.md.jinja Resolved
Comment thread README.md.jinja Resolved
- Fix invalid YAML indentation in all four GitHub Actions workflow
  templates (backend-tests, docker-release-backend/frontend/job)
- Remove unconditional OPENAI_API_KEY dummy value from backend CI;
  no OpenAI integration exists in the scaffold
- Combine split echo redirects onto single lines in docker-release
  workflows to fix bash syntax errors
- Drop overly broad actions:write permission from docker-release-frontend
- Remove dead pull_request branch from scorecard.yml if-condition
- Add .env/.env.* to backend and job .dockerignore files
- Pin uv to 0.11.14 in backend and job Dockerfiles; copy uv.lock for
  deterministic installs; add --frozen flag to job uv sync calls
- Add non-root appuser to backend and job Dockerfiles
- Switch all container and compose paths from project_name to module_name
  for consistency with Python module naming; rename template directories
  accordingly and update all references (copier.yml, ruff.toml, compose,
  workflows)
- Reorder copier.yml so backend/job/frontend booleans precede the
  conditional image questions; pin UBI base image defaults to 10.1-1775622738
- Fix vitepress config.mts.jinja indentation inside defineConfig block
- Fix README.md.jinja: typo in description, hardcoded org in docs URL,
  replace Copier install snippet with project-oriented setup instructions
- Remove unused pyyaml dependency from backend pyproject.toml; add
  asyncio_mode = "auto" for pytest-asyncio
- Add nginx security headers, gzip compression, and static asset cache
  headers to frontend nginx config
- Switch frontend Dockerfile to npm ci with package-lock.json copy
- Remove --noCheck from frontend build script to enforce type checking
- Fix brittle monkeypatch lambda and add assertion guard in job test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🧹 Nitpick comments (1)
{{module_name}}-frontend/docker/nginx/default.conf (1)

7-8: ⚡ Quick win

Add gzip_vary for proper caching behavior.

When using gzip compression, enable gzip_vary on; to add the Vary: Accept-Encoding header. This ensures that caching proxies and CDNs correctly handle both compressed and uncompressed responses.

📦 Proposed addition
   gzip on;
+  gzip_vary on;
   gzip_types text/plain text/css application/javascript application/json image/svg+xml;
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @{{module_name}}-frontend/docker/nginx/default.conf around lines 7 - 8, The
nginx config currently enables gzip (gzip) and sets gzip_types but omits
gzip_vary; add the directive gzip_vary on; (e.g., immediately after gzip on;) so
Nginx will send the Vary: Accept-Encoding header and ensure proxies/CDNs cache
compressed and uncompressed responses correctly; update the block containing the
gzip and gzip_types directives.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/{% if frontend %}docker-release-frontend.yml{% endif
%}.jinja:
- Around line 51-58: The tags use {{ project_name }}-frontend but the build
context/Dockerfile use {{ module_name }}-frontend which can produce invalid
image names; update the tag templates to use {{ module_name }} (e.g., replace
occurrences of {{ project_name }}-frontend with {{ module_name }}-frontend) or
else apply a sanitize filter (toLower, replace spaces/special chars) to {{
project_name }} so the generated image names conform to Docker's lowercase
alphanumeric/hyphen/underscore/period rules; adjust the template where tags are
defined to reference the corrected variable (module_name or sanitized
project_name) so names are consistent with the context/Dockerfile.

In @{{module_name}}-backend/Dockerfile.jinja:
- Around line 13-19: The Dockerfile runs use "uv sync" twice; update both
invocations (the RUN lines that call uv sync --no-dev --no-install-project and
uv sync --no-dev) to include the --frozen flag so dependency resolution fails if
uv.lock drift exists (i.e., change to uv sync --frozen --no-dev
--no-install-project and uv sync --frozen --no-dev).

In @{{module_name}}-frontend/.prettierrc:
- Line 1: The project’s .prettierrc references the plugin
"@muenchen/prettier-codeformat" but that package is not declared in
devDependencies, causing lint/fix to fail; update package.json.jinja by adding
"@muenchen/prettier-codeformat" under devDependencies (choose the appropriate
version) so the plugin can be resolved during npm/yarn install and CI runs;
ensure the dependency name exactly matches the string in .prettierrc and run an
install to verify no module-not-found errors occur.

In @{{module_name}}-frontend/docker/nginx/default.conf:
- Around line 19-22: The nested location block matching the static files
(location ~* \.(js|css|png|jpg|jpeg|svg|ico|woff|woff2)$) overrides parent
add_header directives so the security headers (X-Frame-Options,
X-Content-Type-Options, Referrer-Policy, Content-Security-Policy) are missing
for assets; update that same location block to re-add those security headers
(using add_header for each header and include the always flag so they apply on
all responses) so static assets receive the same security headers as the parent.

In @{{module_name}}-frontend/package.json.jinja:
- Around line 1-27: The template is missing package-lock.json but the Dockerfile
expects it and runs npm ci, causing COPY failed errors; fix by either adding a
generated package-lock.json to the template (matching the dependencies in
package.json.jinja) so the Dockerfile can COPY and npm ci will work, or update
the Dockerfile to use npm install instead of npm ci (or document that users must
run npm install and commit package-lock.json before building); ensure the change
targets the Dockerfile invocation of npm ci and the template output set that
includes package-lock.json.
- Line 2: The package name field "name" currently uses {{ project_name }} while
the generated directory uses {{module_name}} (which replaces hyphens with
underscores), causing a mismatch; update the template generation so both use the
same identifier—either change the package "name" to use {{module_name}} or
change the directory creation to use {{ project_name }}—and update the
package.json.jinja "name" value and any directory/template references
accordingly to ensure consistent naming between the package.json "name" and the
directory (referencing variables {{ project_name }} and {{module_name}} and the
package.json "name" field).

In @{{module_name}}-job/Dockerfile.jinja:
- Around line 11-14: The Dockerfile.jinja assumes a uv.lock exists and uses the
uv sync --frozen flag which will fail builds for freshly generated projects;
update the RUN step that invokes "uv sync --no-dev --no-install-project
--frozen" to be tolerant when uv.lock is missing (for example remove the
--frozen flag so the command becomes "uv sync --no-dev --no-install-project") or
alternatively add prebuild documentation requiring "uv lock" or include a
template uv.lock; locate the COPY and RUN lines in Dockerfile.jinja that
reference uv.lock and modify the uv sync invocation accordingly.

---

Nitpick comments:
In @{{module_name}}-frontend/docker/nginx/default.conf:
- Around line 7-8: The nginx config currently enables gzip (gzip) and sets
gzip_types but omits gzip_vary; add the directive gzip_vary on; (e.g.,
immediately after gzip on;) so Nginx will send the Vary: Accept-Encoding header
and ensure proxies/CDNs cache compressed and uncompressed responses correctly;
update the block containing the gzip and gzip_types directives.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3c994ea6-f5ef-404d-9a29-22bf810a2d0a

📥 Commits

Reviewing files that changed from the base of the PR and between c33c982 and 36736cd.

📒 Files selected for processing (43)
  • .github/workflows/scorecard.yml
  • .github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja
  • .github/workflows/{% if backend %}docker-release-backend.yml{% endif %}.jinja
  • .github/workflows/{% if frontend %}docker-release-frontend.yml{% endif %}.jinja
  • .github/workflows/{% if job %}docker-release-job.yml{% endif %}.jinja
  • README.md.jinja
  • compose.yaml.jinja
  • copier.yml
  • docs/.vitepress/config.mts.jinja
  • ruff.toml.jinja
  • {{module_name}}-backend/.dockerignore
  • {{module_name}}-backend/.python-version
  • {{module_name}}-backend/Dockerfile.jinja
  • {{module_name}}-backend/README.md.jinja
  • {{module_name}}-backend/main.py.jinja
  • {{module_name}}-backend/pyproject.toml.jinja
  • {{module_name}}-backend/test/test_app.py.jinja
  • {{module_name}}-backend/{{module_name}}/app.py.jinja
  • {{module_name}}-backend/{{module_name}}/settings.py.jinja
  • {{module_name}}-frontend/.dockerignore
  • {{module_name}}-frontend/.npmrc
  • {{module_name}}-frontend/.prettierignore
  • {{module_name}}-frontend/.prettierrc
  • {{module_name}}-frontend/Dockerfile.jinja
  • {{module_name}}-frontend/README.md.jinja
  • {{module_name}}-frontend/docker/nginx/default.conf
  • {{module_name}}-frontend/index.html.jinja
  • {{module_name}}-frontend/package.json.jinja
  • {{module_name}}-frontend/src/App.vue.jinja
  • {{module_name}}-frontend/src/main.ts
  • {{module_name}}-frontend/src/style.css
  • {{module_name}}-frontend/tsconfig.app.json
  • {{module_name}}-frontend/tsconfig.json
  • {{module_name}}-frontend/tsconfig.node.json
  • {{module_name}}-frontend/vite.config.ts
  • {{module_name}}-job/.dockerignore
  • {{module_name}}-job/.python-version
  • {{module_name}}-job/Dockerfile.jinja
  • {{module_name}}-job/README.md.jinja
  • {{module_name}}-job/main.py
  • {{module_name}}-job/pyproject.toml.jinja
  • {{module_name}}-job/test/test_main.py.jinja
  • {{module_name}}-job/{{module_name}}/worker.py
✅ Files skipped from review due to trivial changes (16)
  • {{module_name}}-frontend/.npmrc
  • {{module_name}}-frontend/.dockerignore
  • {{module_name}}-backend/.dockerignore
  • {{module_name}}-backend/README.md.jinja
  • {{module_name}}-backend/main.py.jinja
  • docs/.vitepress/config.mts.jinja
  • {{module_name}}-frontend/README.md.jinja
  • {{module_name}}-frontend/src/App.vue.jinja
  • {{module_name}}-backend/.python-version
  • {{module_name}}-frontend/.prettierignore
  • {{module_name}}-job/{{module_name}}/worker.py
  • {{module_name}}-job/README.md.jinja
  • {{module_name}}-job/.dockerignore
  • {{module_name}}-frontend/index.html.jinja
  • {{module_name}}-frontend/src/style.css
  • {{module_name}}-backend/pyproject.toml.jinja
🚧 Files skipped from review as they are similar to previous changes (6)
  • .github/workflows/{% if backend %}docker-release-backend.yml{% endif %}.jinja
  • README.md.jinja
  • copier.yml
  • compose.yaml.jinja
  • ruff.toml.jinja
  • .github/workflows/{% if job %}docker-release-job.yml{% endif %}.jinja
📜 Review details
🧰 Additional context used
🪛 Hadolint (2.14.0)
{{module_name}}-backend/Dockerfile.jinja

[error] 1-1: unexpected 'b'
expecting '#', '', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, a pragma, at least one space, or end of input

(DL1000)

{{module_name}}-job/Dockerfile.jinja

[error] 1-1: unexpected 'j'
expecting '#', '', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, a pragma, at least one space, or end of input

(DL1000)

🪛 Trivy (0.69.3)
{{module_name}}-frontend/Dockerfile.jinja

[error] 1-1: Image user should not be 'root'

Specify at least 1 USER command in Dockerfile with non-root user as argument

Rule: DS-0002

Learn more

(IaC/Dockerfile)

🔇 Additional comments (20)
{{module_name}}-backend/{{module_name}}/app.py.jinja (1)

1-15: LGTM!

{{module_name}}-backend/{{module_name}}/settings.py.jinja (1)

1-11: LGTM!

{{module_name}}-backend/test/test_app.py.jinja (1)

1-12: LGTM!

{{module_name}}-backend/Dockerfile.jinja (1)

1-12: LGTM!

Also applies to: 21-43

{{module_name}}-job/.python-version (1)

1-1: Python 3.14.4 may not exist yet.

This file pins Python to version 3.14.4, which is consistent with the requires-python = ">=3.14" in pyproject.toml, but Python 3.14 may not be released yet. Please verify the availability of Python 3.14 (see the verification request in the pyproject.toml.jinja review).

{{module_name}}-job/main.py (1)

1-17: LGTM!

{{module_name}}-job/test/test_main.py.jinja (1)

1-32: LGTM!

{{module_name}}-job/Dockerfile.jinja (1)

38-40: LGTM!

{{module_name}}-job/pyproject.toml.jinja (2)

17-17: The "ty" package is legitimate.

The "ty>=0.0.14" dependency is a valid package on PyPI—an extremely fast Python type checker written in Rust by Astral (creators of Ruff). This is not a typo and requires no changes.

			> Likely an incorrect or invalid review comment.

6-6: No action needed—Python 3.14 is now available.

Python 3.14.0 was released on October 7, 2025, and the requires-python = ">=3.14" constraint is valid. The most recent release is Python 3.14.5 (May 2026).

.github/workflows/{% if backend %}backend-tests.yml{% endif %}.jinja (1)

1-26: LGTM!

.github/workflows/scorecard.yml (1)

1-37: LGTM!

{{module_name}}-frontend/src/main.ts (1)

1-5: LGTM!

{{module_name}}-frontend/tsconfig.app.json (1)

1-4: LGTM!

{{module_name}}-frontend/tsconfig.json (1)

1-4: LGTM!

{{module_name}}-frontend/tsconfig.node.json (1)

1-10: LGTM!

{{module_name}}-frontend/vite.config.ts (1)

1-6: LGTM!

{{module_name}}-frontend/Dockerfile.jinja (2)

1-13: LGTM!


15-37: ⚡ Quick win

Trivy warning about missing USER directive is likely a false positive.

Red Hat's official UBI nginx-126 image is designed to run as a non-root user by default with built-in security configuration. The Dockerfile correctly uses port 8080 (non-privileged), which aligns with the image's default non-root behavior. No explicit USER directive is required.

{{module_name}}-frontend/docker/nginx/default.conf (1)

13-13: ⚡ Quick win

CSP configuration is compatible with Vite production build.

The Content-Security-Policy header specifies script-src 'self', which blocks inline scripts. However, the template uses only external module scripts via the src attribute (<script type="module" src="/src/main.ts"></script>), and the standard Vite 7 + Vue 3 build setup does not generate inline scripts. The style-src 'self' 'unsafe-inline' directive appropriately handles Vue's runtime style injection for scoped styles. No compatibility issues.

Comment thread {{module_name}}-frontend/.prettierrc Resolved
Comment thread {{module_name}}-job/Dockerfile.jinja Resolved
freinold added 2 commits May 18, 2026 00:22
…x prettier dep

- Use {{ module_name }} (not {{ project_name }}) in frontend image tags so
  Docker tag names are guaranteed lowercase and symbol-free
- Add --frozen to both uv sync calls in backend Dockerfile, matching the job
  Dockerfile and ensuring builds fail fast on lockfile drift
- Add @muenchen/prettier-codeformat 1.0.2 to devDependencies in frontend and
  docs package.json so `npm run lint` can resolve the .prettierrc config
- Re-apply security headers (X-Frame-Options, X-Content-Type-Options,
  Referrer-Policy, CSP) inside the static-assets location block, which
  suppresses parent add_header directives in nginx
- Add gzip_vary on to emit Vary: Accept-Encoding for correct CDN caching
- Document the lockfile generation step (uv lock / npm install + commit)
  required before the first Docker build

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/deploy-docs.yml.jinja:
- Line 52: Replace the mutable tag usage "uses: actions/deploy-pages@v4" with an
immutable commit SHA for actions/deploy-pages (e.g., "uses:
actions/deploy-pages@<FULL_COMMIT_SHA>"); locate the line containing the symbol
actions/deploy-pages@v4 in the workflow
(.github/workflows/deploy-docs.yml.jinja) and substitute the tag with the
corresponding full commit SHA from the official actions/deploy-pages releases to
match the other pinned actions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b4034c03-6d79-420d-aa12-7ca9f8726416

📥 Commits

Reviewing files that changed from the base of the PR and between 171c1bf and 7a5d7de.

📒 Files selected for processing (2)
  • .github/workflows/deploy-docs.yml.jinja
  • .github/workflows/ruff.yml.jinja
📜 Review details
🔇 Additional comments (1)
.github/workflows/ruff.yml.jinja (1)

1-17: LGTM!

Comment thread .github/workflows/deploy-docs.yml.jinja Resolved
@freinold
freinold requested a review from shteenft June 22, 2026 10:36
@shteenft
shteenft merged commit 0524a9c into main Jul 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants